package com.alibaba.cirtus.ots.application.adapter.ability.model.enums;

/**
 * @author hanguo
 * @date 2021/11/3
 * @Description 价格集成接口的通用枚举类
 */

public enum PriceEnum {

    DELETE("X","删除",-1),
    AMOUNT("MULTIPLY","金额转换为分",100),
    REQUEST_MESSAGE_BYTE_SIZE("LIMIT_TO_SIZE","限制数据大小",2097152);
    private String code;
    private String desc;
    private Integer value;

    PriceEnum(String code, String desc, Integer value) {
        this.code = code;
        this.desc = desc;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
